package com.zhao.dao;

import com.zhao.pojo.EbickGoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EbickGoodsDao {
    int addOne(EbickGoods ebickGoods);
    EbickGoods findByEbickID(String EbickID,String universityID);
    List<EbickGoods> findByStudentID(String studentID,String universityID);
    List<EbickGoods> findByStudentIDAndNotStatus(String status,String studentID,String universityID);
    int update(EbickGoods ebickGoods);
    int delete(String ebickID,String universityID);
    List<EbickGoods> findAll(String universityID);
    List<EbickGoods> findAllByNotStatus(String status,String universityID);
    List<EbickGoods> findAllByStatus(String status,String universityID);

}
